package com.lagou.service.impl;

import com.lagou.service.HelloService;
import org.apache.dubbo.config.annotation.Service;

import java.util.Random;

@Service
public class HelloServiceImpl implements HelloService {
    @Override
    public void methodA() throws InterruptedException {
        Random random = new Random();
        Thread.sleep(random.nextInt(100));
    }

    @Override
    public void methodB() throws InterruptedException {
        Random random = new Random();
        Thread.sleep(random.nextInt(100));
    }

    @Override
    public void methodC() throws InterruptedException {
        Random random = new Random();
        Thread.sleep(random.nextInt(100));
    }
}
